package com.chuangjiangx.member.stored.ddd.domain.model;


import com.chuangjiangx.dddbase.Entity;
import com.chuangjiangx.member.basic.ddd.domain.model.MbrStoredStreamId;
import com.chuangjiangx.member.basic.ddd.domain.model.MemberId;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.math.BigDecimal;

/**
 * 储值明细
 */
@Getter
@AllArgsConstructor
public class MbrStoredStream extends Entity<MbrStoredStreamId> {
    /**
     * 会员
     */
    private MemberId memberId;
    /**
     * 交易金额
     */
    private BigDecimal amount;
    /**
     * 交易后金额
     */
    private BigDecimal postTradingBalance;

    /**
     * @see MbrStoredType
     */
    private MbrStoredType type;
    /**
     * 父ID
     */
    private Long pid;

    /**
     * 备注
     */
    private String remark;

    private MbrOrderId mbrOrderId;

    private MbrOrderRefundId mbrOrderRefundId;

    private Long merchantUserId;

    private Long storeUserId;

    private Long storeId;



}
